package com.opensky.module.sys.interfaces.frm;

import com.opensky.common.interfaces.frm.SortFieldFrm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Date;

/**
 * 角色菜单关联表(表sys_role_menu)请求参数对象
 *
 * @author 中国印
 * @date 2021-11-27 21:48:54
 */
@ApiModel("表(sys_role_menu)实体类查询Frm")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysRoleMenuQueryFrm {

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID", example = "'1'")
    private String id;


    /**
     * 菜单ID
     */
    @ApiModelProperty(value = "菜单ID", example = "1")
    private Long menuId;


    /**
     * 角色ID
     */
    @ApiModelProperty(value = "角色ID", example = "1")
    private Long roleId;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间 yyyy-MM-dd", example = "2021-05-20")
    private Date createTime;

    /**
     * 创建时间起
     */
    @ApiModelProperty(value = "创建时间起 yyyy-MM-dd HH:mm:ss", example = "2021-05-20 00:00:00")
    private String createTimeBegin;

    /**
     * 创建时间止
     */
    @ApiModelProperty(value = "创建时间止 yyyy-MM-dd HH:mm:ss", example = "2021-05-20  23:59:59")
    private String createTimeEnd;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间 yyyy-MM-dd", example = "2021-05-20")
    private Date updateTime;

    /**
     * 更新时间起
     */
    @ApiModelProperty(value = "更新时间起 yyyy-MM-dd HH:mm:ss", example = "2021-05-20 00:00:00")
    private String updateTimeBegin;

    /**
     * 更新时间止
     */
    @ApiModelProperty(value = "更新时间止 yyyy-MM-dd HH:mm:ss", example = "2021-05-20  23:59:59")
    private String updateTimeEnd;

    /**
     * 排序字段集合
     */
    @ApiModelProperty(value = "排序字段集合")
    List<SortFieldFrm> sortFields;

    /**
     * 查询页
     */
    @ApiModelProperty(value = "查询页", example = "1")
    private Integer pageNum;

    /**
     * 每页数量
     */
    @ApiModelProperty(value = "每页数量", example = "10")
    private Integer pageSize;
}

